<pre>  A
  B
  <span>
    C
    D
  </span>
  E
  F
</pre>

<div>A
  B
  <span>C
    D
  </span>
  E
  F
</div>

<div><pre>    A
    B
    <span>
      C
      D
    </span>
    E
    F
  </pre></div>

<div id="pre-with-leading-newline"><pre>leading newline</pre>
  <pre>  leading newline and spaces</pre>
  <pre>

leading newlines</pre></div>

<div id="pre-without-leading-newline"><pre>without spaces</pre>
  <pre>  with spaces  </pre>
  <pre> 
newline after leading space</pre></div>
